# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
from django.conf import settings


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Address',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('name', models.CharField(max_length=255, verbose_name='\u6536\u8d27\u4eba')),
                ('phone', models.CharField(max_length=255, verbose_name='\u7535\u8bdd')),
                ('add_province', models.CharField(max_length=255, verbose_name='\u7701\u5730\u5740')),
                ('add_city', models.CharField(max_length=255, verbose_name='\u5e02\u5730\u5740')),
                ('add_district', models.CharField(max_length=255, verbose_name='\u533a\u5730\u5740')),
                ('add_detail', models.CharField(max_length=255, verbose_name='\u8be6\u7ec6\u5730\u5740')),
                ('is_active', models.BooleanField(default=True, verbose_name='\u662f\u5426\u5df2\u5220\u9664')),
                ('is_default', models.BooleanField(default=False, verbose_name='\u662f\u5426\u9ed8\u8ba4')),
                ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
